#ifndef MAINUI_H
#define MAINUI_H

#include <QtGui/QWidget>
#include <QtGui/QLabel>

namespace Ui {
class mainUi;
}

class mainUi : public QWidget
{
    Q_OBJECT
    
public:
    explicit mainUi(QWidget *parent = 0);
    void setInfo(QString machineOnline);
    void setStatus(QString status);
    void setNetStatus(QString netStatus);
	void updateQrCodeContent(QString qUrl);
    ~mainUi();
	
signals:
    void netPicChange(int iStatus);
	void qrcodeUpdate(QString qUrl);
	
private slots:
    void changeBackPic(int iStatus);
	void changeQrCode(QString qUrl);
	
private:
    Ui::mainUi *ui;
    QLabel *lblMachineId;
    QLabel *lblStatus;
    QLabel *lblNetStatus;
};

#endif // MAINUI_H
